<?php

$user = [['name' => '李四'], ['name' => '小明']];

file_put_contents('database.php', '<?php return ' . var_export($user, true) . ';');
